package com.seckill.api.dto.item;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


@ApiModel(description = "商品信息")
@Data
public class ItemSearchDTO {
    @ApiModelProperty("商品id")
    private Long id;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("一级商品分类id")
    private Long firstCateId;
    @ApiModelProperty("二级商品分类id")
    private Long secondCateId;
    @ApiModelProperty("三级商品分类id")
    private Long thirdCateId;
    @ApiModelProperty("商品封面")
    private String image;
    @ApiModelProperty("价格")
    private Integer price;
    @ApiModelProperty(value = "商品销量", example = "3920")
    private Integer sold = 0;
}
